package com.firexxx.detect;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Startup {

    public static Object obj = new Object();

    public static void main(String[] args) {
        System.out.println(-Integer.MAX_VALUE - 2);

//        ExecutorService executorService = Executors.newCachedThreadPool();
//        executorService.submit(new Runnable() {
//            public void run() {
//                System.out.println(11);
//            }
//        });
        ExecutorService executorService = Executors.newFixedThreadPool(1);
        executorService.submit(new Runnable() {
            public void run() {
                throw new RuntimeException("1");
            }
        });
//        executorService.execute(new Runnable() {
//            public void run() {
//                throw new RuntimeException("2");
//            }
//        });

    }

}
